package com.engine4cloud.tdf.supervision.dto.result;

import com.engine4cloud.tdf.common.core.constant.enums.NormalAuditActionStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 经常性跨市县活动
 *
 * @author wenjie
 * @date 2024-04-11 10:22:38
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "经常性跨市县活动")
public class SpUsualOutResultDTO extends CreateTimeResultDTO {

    /**
     * 主键
     */
    @Schema(description = "主键")
    private Long id;

    /**
     * 社区矫正人员编号
     */
    @Schema(description = "社区矫正人员编号")
    private String rybh;

    /**
     * 流程编号
     */
    @Schema(description = "流程编号")
    private String lcbh;

    /**
     * 申请时间
     */
    @Schema(description = "申请时间")
    private LocalDateTime sqsj;

    /**
     * 开始时间
     */
    @Schema(description = "开始时间")
    private LocalDate kssj;

    /**
     * 结束时间
     */
    @Schema(description = "结束时间")
    private LocalDate jssj;

    /**
     * 去往地所在省名称
     */
    @Schema(description = "去往地所在省名称")
    private String qwdszsmc;

    /**
     * 去往地所在市名称
     */
    @Schema(description = "去往地所在市名称")
    private String qwdszdmc;

    /**
     * 去往地所在县名称
     */
    @Schema(description = "去往地所在县名称")
    private String qwdszxmc;

    /**
     * 去往地所在乡镇名称
     */
    @Schema(description = "去往地所在乡镇名称")
    private String qwdxzmc;

    /**
     * 去往市县详细地址
     */
    @Schema(description = "去往市县详细地址")
    private String qwsxdzmx;

    /**
     * 理由
     */
    @Schema(description = "理由")
    private String ly;

    /**
     * 审核动作
     */
    @Schema(description = "审核动作", example = "CREATE")
    private NormalAuditActionStatusEnum preAction;

    /**
     * 去往所在地
     */
    @Schema(description = "去往所在地", example = "[\"460000\",\"46000A\",\"469006\",\"36327\"]")
    private List<String> destinationList;

    /**
     * 经常性跨市县活动法律文书
     */
    @Schema(description = "经常性跨市县活动法律文书", example = "[{\"name\": \"张三****.doc\",\"url\": \"/users/张三****.doc\"}]")
    private List<JzdxFileResultDTO> instrumentList;

}